package com.headStorm.hutooluse;

import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.lang.tree.Tree;
import cn.hutool.core.lang.tree.TreeNodeConfig;
import cn.hutool.core.lang.tree.TreeUtil;
import cn.hutool.core.util.ObjectUtil;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.headStorm.JsonUse;
import jdk.nashorn.internal.runtime.Source;
import lombok.Data;

import java.util.*;

/**
 * @author zhangqq
 * @create 2021-08-31 10:15
 **/
public class DateUtilDemo {

    public static void main(String[] args) {
        Date date = new Date(1630379109140l);
        String format = DateUtil.format(date, "yyyy-MM-dd HH:mm:ss:SSS");
        System.out.println(format);
    }

}


